package com.tjetc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@TableName("t_user_tribe")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserTribe implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer userId;

    private Integer tribeId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getTribeId() {
        return tribeId;
    }

    public void setTribeId(Integer tribeId) {
        this.tribeId = tribeId;
    }

    @Override
    public String toString() {
        return "UserTribe{" +
            "userId=" + userId +
            ", tribeId=" + tribeId +
        "}";
    }
}
